package com.entrogy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName TeacherInformaitonChangeEntity
 * @Description
 * @Author luoxingjiang
 * @Date 2019/9/18 0018 下午 12:12
 * @Version 1.0
 **/
@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class TeacherInformationChangeEntity {

    private Integer id;

    private String auditUserId;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Integer changeType;

    private String applyUserId;

    private Integer agreed;

    private String newName;

    private String newPhone;

    private String newPhotoUrl;

    private Integer schoolCode;

    private List<TeacherAdvancedInfoChangeEntity> teacherAdvancedInfoChangeList;

    private List<Integer> roleIdList;


}
